/**
 * 
 */
package co.fitstart.mobile.service;

import java.util.List;

import com.demo2do.core.support.Page;

import co.fitstart.entity.credit.order.CreditOrder;
import co.fitstart.entity.user.User;

/**
 * @author Guangli Yan
 *
 */
public interface CreditOrderService {

	/**
	 * @param user 
	 * @return
	 */
	public List<CreditOrder> list(User user);

	/**
	 * @param user
	 * @param page
	 * @return
	 */
	public List<CreditOrder> list(User user, Page page);

	/**
	 * @param exchangeRecordId
	 * @return
	 */
	public CreditOrder load(Long creditOrderId);

}
